Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Mon, 14 Dec 1992 15:29:50 GMT
hi there,
i am writing a midi-sequencing program with think c 4.0. i don't want to write my own midi-device driver, so can anyone tell me where i can get one? or maybe someone has a nice include file? anyway, thanx a lot and have fun..
email to rmaag@iiic.ethz.ch
+++++++++++++++++++++++++++
From: steve@oceania.com
Organization: Oceania Health Care Systems
Date: Mon, 14 Dec 1992 21:18:50 GMT
Rolf Maag writes
> i am writing a midi-sequencing program with think c 4.0. i don't
> want to write my own midi-device driver, so can anyone tell me where
> i can get one? or maybe someone has a nice include file? anyway,
> thanx a lot and have fun..
I don't think a 'nice include file' will do the trick. MIDI is pretty
complex, being so time sensitive and all.
I have been using Apple's MIDIManager for about a year. It works quite
well and only cost me $35. It's a system extension that offers MIDI I/O
functions to any program that registers itself with the manager. You use
an application that is included called PatchBay to connect MIDI input and
output devices/programs.
So far I have written one complete application with it and am on to my
second. It has proven to be relatively simple and easy to use.
If anyone else is using it, please email me. I'd like to know if anyone
would be able to use the programs I write with it if I released them as
freeware.
Good luck,
Steve
- --
Steve Dakin |
Oceania Health Care Systems | That one deserves a ... WOW!
Palo Alto, CA (415) 322-0127 |
steve@oceania.com (NeXT mail) |
---------------------------
From: Daniel_R._Sandler@uu0570.foggybottom.com
Organization: Foggy Bottom / Washington, D.C.
Date: Wed, 09 Dec 1992 17:37:22 EST
Subject: Background your Sound!
Okay, I've asked this before, and I haven't gotten an answer yet. This means
there are 3 possibilities: either a) no one knoes how to do it (esp. not on
my Classic); b) No one is responding; or c) whenevr you DO respond I miss the message
because I do not log in soon enough and the message is flushed out of my BBS'
temporary holding place for Inet newsgroup messages.
OK,ok, to the point: How do I play sound while something else is ahppening,
like so many games for the Mac, and even HyperCard? If my games have to stop
and pause to let a sound play, it really ruins the hole effect.
Thanks in advance.
dan
95dsandler@vax.mbhs.edu
Daniel_R._Sandler@uu0570.foggybottom.com
Foggy Bottom - your FirstClass Mac connection in Washington, DC
+++++++++++++++++++++++++++
From: werner@dewey.soe.berkeley.edu (John Werner)
Date: 10 Dec 1992 17:42:07 GMT
Organization: School of Education, U.C. Berkeley
In article <1992Dec09.173722.69189@uu0570.foggybottom.com> Daniel_R._Sandler@uu0570.foggybottom.com writes:
>OK,ok, to the point: How do I play sound while something else is ahppening,
>like so many games for the Mac, and even HyperCard? If my games have to stop
>and pause to let a sound play, it really ruins the hole effect.
It's not that hard. Use SndPlay, with the last "async" parameter set
to TRUE. The catch is that this only works if you're using your own
sound channel. So the code looks something like this:
SndChannelPtr myChannel;
SndNewChannel(&myChannel, sampledSynth, 0, NULL); /* Do once at startup */
.
.
SndPlay(myChannel, mySound, TRUE);
.
.
SndDisposeChannel(myChannel, TRUE); /* Do this once at exit */